package pers.fjl.common.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author fangjiale
 * @since 2021-01-07
 */
public class Supplier extends Model<Supplier> {

    private static final long serialVersionUID = 1L;

    /**
     * 供应商编号
     */
    @TableId(value = "supplier_id", type = IdType.AUTO)
    private String supplierId;

    /**
     * 供应商名称
     */
    private String supplier;

    /**
     * 电话
     */
    private String mobile;

    /**
     * 员工编号
     */
    private String sid;


    public String getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(String supplierId) {
        this.supplierId = supplierId;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    @Override
    protected Serializable pkVal() {
        return this.supplierId;
    }

    @Override
    public String toString() {
        return "Supplier{" +
        "supplierId=" + supplierId +
        ", supplier=" + supplier +
        ", mobile=" + mobile +
        ", sid=" + sid +
        "}";
    }
}
